package com.bs.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * MedicineCategory entity. @author MyEclipse Persistence Tools
 */

public class MedicineCategory implements java.io.Serializable {

	// Fields

	private Long categoryId;
	private String categoryName;
	private String categoryDesc;
	private Date categoryCreateTime;
	private Set<MedicineInfo> medicineInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public MedicineCategory() {
	}

	/** full constructor */
	public MedicineCategory(String categoryName, String categoryDesc,
			Date categoryCreateTime, Set medicineInfos) {
		this.categoryName = categoryName;
		this.categoryDesc = categoryDesc;
		this.categoryCreateTime = categoryCreateTime;
		this.medicineInfos = medicineInfos;
	}

	// Property accessors

	

	public String getCategoryName() {
		return this.categoryName;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getCategoryDesc() {
		return this.categoryDesc;
	}

	public void setCategoryDesc(String categoryDesc) {
		this.categoryDesc = categoryDesc;
	}

	public Date getCategoryCreateTime() {
		return this.categoryCreateTime;
	}

	public void setCategoryCreateTime(Date categoryCreateTime) {
		this.categoryCreateTime = categoryCreateTime;
	}

	public Set getMedicineInfos() {
		return this.medicineInfos;
	}

	public void setMedicineInfos(Set medicineInfos) {
		this.medicineInfos = medicineInfos;
	}

}